package com.cgt.spring.service.impl;

import com.cgt.spring.dao.IBanjiDao;
import com.cgt.spring.service.IBanjiService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class BanjiServiceImpl implements IBanjiService {
	@Autowired
	private IBanjiDao banjiDao;

	@Override
	public void selectAll() {
		//System.out.println("开启事务");
		System.out.println("BanjiServiceImpl.selectAll");
		//banjiDao.selectAll();
		//System.out.println("关闭事务");
	}

	@Override
	public void deleteById(Integer id) {
		//System.out.println("开启事务");
		System.out.println("BanjiServiceImpl.deleteById");
		//System.out.println("关闭事务");
	}
}
